<div class="page-title">
    <h1 class="page-header"><?= Yii::t('app', 'User activity journal') ?></h1>
</div>

<?php
$this->widget('BGridView', array(
    'id'            => 'user_activity_grid',
    'dataProvider'  => $model->search(),
    'filter'        => $model,
    'ajaxUpdate'    => 'user_activity_grid',
    'pager'         => array(
        'class' => 'BPager',
    ),
    'columns' => array(
        array(
            'name'   => 'description',
            'value'  => '$data->description',
        ),
        array(
            'name'  => 'create_time',
            'value' => '$data->create_time',
        ),
        array(
            'class'    => 'BButtonColumn',
            'template' => '{view}',
        ),
    ),
));
